﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LCA.Community.DAL.Model;

namespace LCA.Community.DAL.Interfaces
{
    /// <summary>
    /// The interface for answers repositories
    /// </summary>
    public interface IAnswersRepository : IBaseRepository<Answer>
    {
        List<Answer> GetAnswersByQuestion(string questionID, int page, int pageSize);
        List<Answer> GetAnswersByQuestion(string questionID);
        List<Answer> GetAnswersByUser(string userID);
        void DeleteAllUserAnswers(string userID);
        void DeleteAllQuestionAnswers(string questionID);
    }
}
